import request from '@/utils/request'
import { BaseResponse } from '../base'

export function getConfig(key: string): Promise<BaseResponse> {
  return request({ url: `/campus/config/get/${key}`, method: 'get' })
}